Codelight\GDPR\Components\Consent\ConsentManager A

Total Complexity 55
Dependencies 1
Dependents 9
Total lines 416
Lines of code 205
Logical lines of code 87
Comment lines 135
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
registerCustomConsentTypes()
A
56 9 17
registerDefaultConsentTypes()
S
47 4 40
getConsentData()
S
56 5 19
getbySlugConsent()
S
61 5 13
withdrawConsent()
S
63 4 10
getdata()
S
59 3 14
giveConsent()
S
63 3 10
anonymize()
S
69 2 7
delete()
S
69 2 7
anonymizeConsent()
S
67 2 8
deleteConsent()
S
67 2 8
validateConsent()
S
71 2 6
isRegisteredConsent()
S
79 1 3
saveCustomConsentTypes()
S
79 1 3
getAllConsents()
S
80 1 3
getAllConsentswithdetails()
S
80 1 3
gdpr_delete_log()
S
80 1 3
getuserlogsData()
S
75 1 4
register()
S
67 1 8
getCustomConsentTypes()
S
79 1 3
getAllDataSubjectsByConsent()
S
91 1 2
getDefaultConsentTypes()
S
79 1 3
getConsentTypes()
S
78 1 3
__construct()
S
65 1 8